from django.urls import path
from rest_framework.routers import SimpleRouter

from home.views import BannerView,SeckillView

router = SimpleRouter()
router.register('banner', BannerView, 'banner')
router.register('seckill', SeckillView, 'seckill')

urlpatterns = [
]
urlpatterns += router.urls